package com.overlord.im.connector.mq.sender;

import com.overlord.im.commons.message.OverlordImMessage;
import com.overlord.im.commons.mq.MqConstants;
import com.overlord.im.commons.mq.service.AbstractRabbitSenderService;
import org.springframework.stereotype.Service;

/**
 * @ClassName RedirectMessageRabbitMqSender
 * @Author wuwei
 * @Description NONE
 * @Date 2020/6/1 16:12
 **/
@Service
public class RedirectMessageRabbitMqSender extends AbstractRabbitSenderService<OverlordImMessage> {
    @Override
    protected String bindingKey() {
        return MqConstants.OVERLORD_IM_MESSAGE_REDIRECT;
    }

    @Override
    protected String exchange() {
        return MqConstants.OVERLORD_IM_EXCHANGE;
    }
}
